package cn.haohaowo.common;

public class Constants {
	public static final String USER_KEY = "user_";
	
	public static final String LOGIN_MSG_KEY = "login_msg";

	
	public static final String REMEMBER_ME_KEY = "_remember_me_";
	public static final String REMEMBER_ME_SEPERATOR = ",";
	
	public static final String DATA_PAGE_KEY = "page";
	
	public static final String HOT_BOOKS_KEY = "hot_books";
	public static final String RECOMMENDED_BOOKS_KEY = "recommended_books";
	public static final String BOOK_KEY = "book";
	
	public static final String PREPARED_ORDER_KEY = "prepared_order";
	public static final String ORDER_NUMBER_KEY = "order_number";
	public static final String ORDER_KEY = "order";
	public static final String SHOPPING_CART = "shopping_cart";
	public static final String ORDERS_ON_PRECESSING_COUNT_KEY = "orders_on_processing_count";
	public static final String ORDERS_COMPLETED_COUNT_KEY = "orders_completed_count";
	public static final String SESSION_CONTAINER_KEY = "session_container";
	
	public static final String NORMAL_DELIVERY = "1";
	public static final String FAST_DELIVERY = "2";
	public static final String POST_DELIVERY = "3";
	
	public static final Integer NORMAL_DELIVERY_FEE = 5;
	public static final Integer FAST_DELIVERY_FEE = 10;
	public static final Integer POST_DELIVERY_FEE = 5;
	public static final Integer FREE_DELIVERY_PRICE = 100;
	
	public static final String NOTICE = "notice";


	public static final String HOME = "home";
	public static final String HELP = "help";
	public static final String SHOW = "show";
	public static final String LIST = "list";
	public static final String SEARCH = "search";
	public static final String BOOK_NOT_FOUND = "book_not_found";
	public static final String MY = "accounts/my";
	public static final String PASSWORD = "password";
	public static final String REGISTER = "/pages/accounts/register.jsp";
	public static final String REGISTER_SUCCESS = "/pages/accounts/reg_success.jsp";
	public static final String REGISTER_SUCCESS_PAGE = "register_success_page";
	public static final String RETURN_PATH = "return_path";
	public static final String UPDATE_QUANTITY = "update_quantity";
	public static final String CHECKOUT = "checkout";
	public static final String SET_DELIVERY_TYPE = "set_delivery_type";
	public static final String CONFIRM = "confirm";
	public static final String CREATE_ORDER_SUCCESS = "create_order_success";
	public static final String CREATE_ORDER_SUCCESS_PAGE = "create_order_success_page";
	public static final String LOGIN = "/accounts/login";
	public static final String ORDER_LIST = "/orders/list";


	public static final String CART = "";

	public static final String RESTFUL_URL = "http://localhost:8088/";

	public static final int PAGE_SIZE = 9;


}
